Release 10.1A: OpenEdge Development:
Open Client Introduction and Programming
Server-side errors during remote 4GL execution
Progress returns server-side errors that occur during execution of a remote procedure. There are three types of remote procedure conditions an AppServer can return to the client:
- ERROR condition — A server-side
ERRORcondition is sent to the client only when a remote procedure or function executes aRETURNERRORstatement. All other server-sideERRORconditions (such as failure to connect to a database) are not raised beyond the scope of the 4GL procedure where they occur; therefore, suchERRORconditions do not propagate to the client. Instead, the AppServer writes error messages for these conditions to the server log file.- STOP condition — Any unhandled
STOPcondition raised on the AppServer is sent to the client. This type of server-side error can occur, for example, when the called remote procedure calls another procedure that cannot be found.- QUIT condition — Any unhandled
QUITcondition raised on the AppServer is sent to the client. The server-side 4GL application can use aQUITstatement to raise aQUITcondition because the client exceeded a resource, did something it should not do, or for any other reason it chooses.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |